<?php

declare(strict_types=1);

namespace App\AiPro\Model;

use Mine\MineModel;

/**
 * @property int $id 
 * @property string $title 标题
 * @property int $aipro_id 
 * @property string $icon 图标
 * @property int $pid pid
 * @property int $is_default 是否默认页
 * @property string $desc 简介
 * @property string $status 状态,1=正常,2=隐藏
 * @property int $sort 排序
 * @property \Carbon\Carbon $created_at 
 * @property \Carbon\Carbon $updated_at 
 */
class AiproCategory extends MineModel
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'aipro_category';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'title', 'aipro_id', 'icon', 'pid', 'is_default', 'desc', 'status', 'sort', 'created_at', 'updated_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'aipro_id' => 'integer', 'pid' => 'integer', 'is_default' => 'integer', 'sort' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}
